// components/banner/index.js
Component({
  options: {
    styleIsolation: "shared"
  },
  //接受父组件传递的数据
  properties: {
    list: {
      type: Array,
      value: []
    },
    height: { // 轮播图高度
      type: String,
      value: '500rpx'
    },
    dotsBottom: { //指示点到底部的距离
      type: String,
      value: '18rpx'
    }
  }
})